# CMakeList.txt : Top-level CMake project file, do global configuration
# and include sub-projects here.
#
cmake_minimum_required (VERSION 3.8)

project(SHM_MSG_COM_INTERFACE)


set(CMAKE_CXX_STANDARD 17)
set(EXAMPLE_REQUIRED TRUE)

set(LIB_VERSION 1.0.2)
set(LIB_SOVERSION 1)

INCLUDE(cmake/load_htsc2data.cmake)
LOAD_HTSC2DATA(YOUR_TARGET_OS YOUR_TARGET_ARCH)
INCLUDE(cmake/load_openssl.cmake)
LOAD_OPENSSL(YOUR_TARGET_OS YOUR_TARGET_ARCH)

add_subdirectory(src)

if(EXAMPLE_REQUIRED)
    add_subdirectory(example)
endif()

set(CMAKE_INSTALL_PREFIX ${PROJECT_SOURCE_DIR}/target)

